package cn.com.haopy.yue.ai.db.mapper.arisk;

import cn.com.haopy.yue.ai.db.entity.arisk.AIRiskIllnessDrugs;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/5/6 14:14
 */
@Mapper
public interface AIRiskIllnessDrugsMapper extends BaseMapper<AIRiskIllnessDrugs> {
    // 自定义分页查询方法
    IPage<AIRiskIllnessDrugs> selectWithDrugName(Page<AIRiskIllnessDrugs> page, @Param("drugName") String drugName, @Param("illnessId") Integer illnessId);
}
